]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
gnome-shell-calender-server: fix debug prints
authorOwen W. Taylor <otaylor@fishsoup.net>
Thu, 5 Apr 2012 21:53:18 +0000 (17:53 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Mon, 16 Apr 2012 16:41:48 +0000 (12:41 -0400)
Several debug prints not normally compiled were referencing enumeration
values that have since been renamed.

https://bugzilla.gnome.org/show_bug.cgi?id=673610

src/calendar-server/calendar-sources.c

index f89bdf99fcf21a7b518502035b3cdd00076c860d..629a85842b7162fd5c60d2679cce689d86304d0a 100644 (file)
@@ -463,7 +463,7 @@ calendar_sources_load_esource_list (CalendarSourceData *source_data)
          ECalClient *client;
 
          dprintf ("      type = '%s' uid = '%s', name = '%s', relative uri = '%s': \n",
-                   source_data->source_type == E_CAL_SOURCE_TYPE_EVENT ? "appointment" : "task",
+                   source_data->source_type == E_CAL_CLIENT_SOURCE_TYPE_EVENTS ? "appointment" : "task",
                   e_source_peek_uid (esource),
                   e_source_peek_name (esource),
                   e_source_peek_relative_uri (esource));
@@ -504,7 +504,7 @@ calendar_sources_load_esource_list (CalendarSourceData *source_data)
   if (emit_signal) 
     {
       dprintf ("Emitting %s-sources-changed signal\n",
-              source_data->source_type == E_CAL_SOURCE_TYPE_EVENT ? "appointment" : "task");
+              source_data->source_type == E_CAL_CLIENT_SOURCE_TYPE_EVENTS ? "appointment" : "task");
       g_signal_emit (source_data->sources, source_data->changed_signal, 0);
     }